package com.grsu.phonestation.dao;

import java.util.List;

import com.grsu.phonestation.dao.impl.base.GenericDAO;
import com.grsu.phonestation.domain.Client;
import com.grsu.phonestation.domain.UserActive;

public interface UserActiveDAO<UA extends UserActive> extends
		GenericDAO<UA, Integer> {

	List<UA> listActiveClientForPeriod(String user, String beginPeriod,
			String endPeriod);

	List<UA> getUnReplayActiveClient(Client client);
	
	double getSumUnReplayActiveClient(Client client);
	
	List<Client> getClientsHaveUnReplayActive();
	
	List<UA> getUserActiveClient(Client client);
}
